<fieldset class="layui-elem-field layui-field-title">
    <legend>
        <span class="layui-word-aux layui-text">Time Period<span>
    </legend>
</fieldset>
<div class="time-input">
    <input type="text" id="start-time" readonly="readonly" autocomplete="off" class="layui-input">
    <span>-------</span>
    <input type="text" id="end-time" readonly="readonly" autocomplete="off" class="layui-input">
</div>
<div id="time-slider" class="time-period-slider"></div>
